//
//  TTVCommonDefines.h
//  TouchTV
//
//  Created by Wayment on 2017/4/5.
//  Copyright © 2017年 TouchTV. All rights reserved.
//

#import <Foundation/Foundation.h>

///新闻类型
typedef NS_ENUM (NSUInteger, TTVNewsContentType) {
    TTVNewsContentTypeNormal    = 0,    ///文章类型
    TTVNewsContentTypeVideo     = 1,    ///视频类型
    TTVNewsContentTypePics      = 2,    ///图集类型
    TTVNewsContentTypeJuZi      = 3,    ///橘子娱乐类型
    TTVNewsContentTypeNewsTopic = 100,    ///直播专题
};

// 平台类型
typedef NS_ENUM (NSUInteger, TTVPlatformType) {
    TTVPlatformTypeMedia        = 0,         ///媒体
    TTVPlatformTypeReptile      = 1,         ///爬虫
    TTVPlatformTypeManagement   = 2,         ///管理
    TTVPlatformTypePPTV         = 3,         ///PPTV
    TTVPlatformTypeJuZi         = 4,         ///橘子
    TTVPlatformTypeLiZi         = 5,         ///荔枝网
    TTVPlatformTypeGQ           = 6,         ///GQ中国
    TTVPlatformTypeDongFang = 7,   //东方头条
};



///推送类型
typedef NS_ENUM (NSUInteger, TTVPushMessagType) {
    TTVPushMessagTypeNews           = 0,    ///新闻
    TTVPushMessagTypeLive           = 1,    ///直播
    TTVPushMessagTypeNewTopic       = 2,    ///新闻专题
    TTVPushMessagTypeLiveTopic      = 3,    ///直播专题
    TTVPushMessagTypeNewsAggregate  = 4,    ///聚合专题
    TTVPushMessagTypeCoinMall       = 5,    ///金币商城
    TTVPushMessagTypeOutLinek       = 6,    ///外链
    TTVPushMessagTypeActivity       = 7,    ///活动
};

///广告推送类型
typedef NS_ENUM (NSUInteger, TTVADPushTargetType) {
    TTVADPushTargetTypeNews             = 1,    ///新闻类型，图文
    TTVADPushTargetTypeNewsVideo        = 2,    ///新闻类型，视频
    TTVADPushTargetTypeLive             = 3,    ///直播
    TTVADPushTargetTypeNewsTopic        = 4,    ///新闻专题
    TTVADPushTargetTypeLiveTopic        = 5,    ///直播专题
    TTVADPushTargetTypePics             = 6,    ///新闻类型，图集
    TTVADPushTargetTypeNewsAggregate     = 7,    ///聚合专题
    TTVADPushTargetTypeActivity          = 8,    ///活动
};

// 平台类型
typedef NS_ENUM (NSUInteger, TTVTopicType) {
    TTVTopicTypeNews        = 0,         ///新闻专题
    TTVTopicTypeAggregateNews      = 1,  ///聚合专题
};

/**
 支付类型：0未知，1微信，2支付宝，3IAP
 */
typedef NS_ENUM (NSUInteger, TTVPaymentType) {
    TTVPaymentTypeUnknown           = 0,//未知类型
    TTVPaymentTypeWeixin            = 1,//微信
    TTVPaymentTypeAlipay            = 2,//支付宝
    TTVPaymentTypeInAppPay          = 3,//苹果内购
};


///URL启动APP
/// news:打开新闻详情页面
static NSString *const TTVOpenAppTypeNews = @"news";

/// video:打开视频详情页面
static NSString *const TTVOpenAppTypeVideo = @"video";

/// lds:打开图集页面
static NSString *const TTVOpenAppTypeAtlas = @"atlas";

/// live：打开爱电视页面
static NSString *const TTVOpenAppTypeLive = @"live";

/// tvProgram：打开电视节目页面
static NSString *const TTVOpenAppTypeTVProgram = @"tvProgram";

/// lds:打开直播页面
static NSString *const TTVOpenAppTypeLds = @"lds";

/// lds:打开图文直播直播页面
static NSString *const TTVOpenAppTypeldsLiving = @"ldsLiving";

/// lds:打开新闻专题
static NSString *const TTVOpenAppTypeNewsTopic = @"newsTopic";

/// lds:打开聚合专题
static NSString *const TTVOpenAppTypeSetNewsTopic = @"setNewsTopic";

/// lds:打开预约详情分享页
static NSString *const TTVOpenAppTypeOrder = @"ldsOrder";

/// lds:打开直播专题分享页
static NSString *const TTVOpenAppTypeLiveTopic = @"liveTopic";

static NSString *const TTVOpenAppTypeactivity = @"activity";

/// 财经频道全球直播
static NSString *const TTVOpenAppWoldLive = @"worldLive";

/// 打开商品详情页分享
static NSString *const TTVOpenAppTypeCoinMallProduct = @"product";

/// 虚拟货币的名称
static NSString *const kTTVVirtualCurrencyName = @"钻石";

/// 是否已经显示过定位提示
static NSString *const kTTVLocationSettingPromptIsShowed = @"kTTVLocationSettingPromptIsShowed";


